package com.revzone.demo001.PermissionModule.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.revzone.demo001.entity.OtherEntity.R;
import com.revzone.demo001.entity.PermissionEntity.Menu;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lsa
 * @since 2023-03-27
 */
public interface MenuService extends IService<Menu> {

    public List<Menu> getMenuList(Integer parentId);
    public List<Menu> getMenuListById(Integer id);
    public R setMenuList(Menu menu);
    public R updateMenuList(Menu menu);

    public R delMenuList(Integer id);
}
